package com.yonyou.gmcc.gateway.web.entity;

import java.util.Date;
import javax.persistence.*;

@Table(name = "TM_ROLE")
public class TmRole {
    @Id
    @Column(name = "ROLE_ID")
    private Short roleId;

    @Column(name = "ROLE_NAME")
    private String roleName;

    @Column(name = "ROLE_DESC")
    private String roleDesc;

    @Column(name = "STATUS")
    private Integer status;

    @Column(name = "CREATE_BY")
    private Integer createBy;

    @Column(name = "CRETAE_DATE")
    private Date cretaeDate;

    @Column(name = "UPDATE_BY")
    private Integer updateBy;

    @Column(name = "UPDATE_DATE")
    private Date updateDate;

    /**
     * @return ROLE_ID
     */
    public Short getRoleId() {
        return roleId;
    }

    /**
     * @param roleId
     */
    public void setRoleId(Short roleId) {
        this.roleId = roleId;
    }

    /**
     * @return ROLE_NAME
     */
    public String getRoleName() {
        return roleName;
    }

    /**
     * @param roleName
     */
    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    /**
     * @return ROLE_DESC
     */
    public String getRoleDesc() {
        return roleDesc;
    }

    /**
     * @param roleDesc
     */
    public void setRoleDesc(String roleDesc) {
        this.roleDesc = roleDesc;
    }

    /**
     * @return STATUS
     */
    public Integer getStatus() {
        return status;
    }

    /**
     * @param status
     */
    public void setStatus(Integer status) {
        this.status = status;
    }

    /**
     * @return CREATE_BY
     */
    public Integer getCreateBy() {
        return createBy;
    }

    /**
     * @param createBy
     */
    public void setCreateBy(Integer createBy) {
        this.createBy = createBy;
    }

    /**
     * @return CRETAE_DATE
     */
    public Date getCretaeDate() {
        return cretaeDate;
    }

    /**
     * @param cretaeDate
     */
    public void setCretaeDate(Date cretaeDate) {
        this.cretaeDate = cretaeDate;
    }

    /**
     * @return UPDATE_BY
     */
    public Integer getUpdateBy() {
        return updateBy;
    }

    /**
     * @param updateBy
     */
    public void setUpdateBy(Integer updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * @return UPDATE_DATE
     */
    public Date getUpdateDate() {
        return updateDate;
    }

    /**
     * @param updateDate
     */
    public void setUpdateDate(Date updateDate) {
        this.updateDate = updateDate;
    }
}